package org.hhchat.others.toutiao.p2018;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * Created this one by huminghao on 2018/4/15.
 */
public class Main02 {

    public static void main(String[] args){
        List<int[]> action = new ArrayList<>();
        Scanner scanner = new Scanner(System.in);
        String s = scanner.next();
        int n = scanner.nextInt();
        while (n-- > 0) {

        }
    }

    static List<int[]> getAction(String s) {
        int count = 0;
        char last = '#';
        List<int[]> actionList = new ArrayList<>();
        int[] action = new int[2];
        for (int i = 0; i < s.length(); i++) {
            char c = s.charAt(i);
            if(c == last){
                count++;
            }else {
                action[0] = 'u';
                action[1] = count;
                last = c;
                count = 0;
                actionList.add(action);
                action = new int[2];
            }
        }
        return actionList;
    }


}
